import Layout from '@/components/layout/Layout.vue'

export default {
  path: '/systemManage',
  name: 'systemManage',
  component: Layout,
  redirect: '/systemManage/directoryTree',
  meta: { title: '系统管理', requireAuth: true },
  children: [
    {
      path: 'directoryTree',
      name: 'directoryTree',
      component: () => import(/* webpackChunkName: "systemConf" */ '@/views/systemManage/directoryTree/DirectoryTree'),
      meta: { title: '辖区目录树管理', requireAuth: true }
    },
    {
      path: 'menuManage',
      name: 'menuManage',
      component: () => import(/* webpackChunkName: "systemConf" */ '@/views/systemManage/menuManage/MenuManage'),
      meta: { title: '菜单管理', requireAuth: true }
    },
    {
      path: 'userManage',
      name: 'userManage',
      component: () => import(/* webpackChunkName: "systemConf" */ '@/views/systemManage/userManage/UserManage'),
      meta: { title: '用户管理', requireAuth: true }
    },
    {
      path: 'roleManage',
      name: 'roleManage',
      component: () => import(/* webpackChunkName: "systemConf" */ '@/views/systemManage/roleManage/RoleManage'),
      meta: { title: '角色管理', requireAuth: true }
    },
    {
      path: 'dataDictionary',
      name: 'dataDictionary',
      component: () => import(/* webpackChunkName: "systemConf" */ '@/views/systemManage/dataDictionary/DataDictionary'),
      meta: { title: '数据字典', requireAuth: true }
    },
    {
      path: 'paramSetting',
      name: 'paramSetting',
      component: () => import(/* webpackChunkName: "systemConf" */ '@/views/systemManage/paramSetting/ParamSetting'),
      meta: { title: '参数设置', requireAuth: true }
    },
    {
      path: 'sysLog',
      meta: { title: '日志管理', requireAuth: true }
    }
  ]
}
